SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}Krailling{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}' OR prCity = 'Krailling' OR prZip = 'Krailling' OR prStreet LIKE '{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}Krailling{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}' OR prCountry = 'Krailling') AND (prLocation LIKE '{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}Germany{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}Germany{9dd06aee762b95a246882fa86c1dbf61be96592e405ec4cfcc1c9373bf26716e}' OR prCountry = 'Germany')